package com.ks.core.api.anno;

import com.ks.core.api.config.ApiConfig;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author kingdee
 */
@Target(METHOD)
@Retention(RUNTIME)
public @interface RateLimit {

    double value() default ApiConfig.DEFAULT_CALL_RATE;
}
